import Home from "../pages/Home"
import Comment from "../pages/Comment"
import Login from "../pages/Login"
import Talks from "../pages/Talks"

const routers=[{
    path:'/home',
    element:<Home/>,
    children:[{
        path:'/home/comment',
        element:<Comment/>
    }]
},{
    path:'/login',
    element:<Login/>
},{
    path:'/talks',
    element:<Talks/>
},{
    from:'/',
    to:'/login'
}]


export default routers